home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / Mac F2C 1.2.2 / MPW Support / Read Me MPW F2C next >
Encoding:
Text File  |  1995-08-09  |  2.5 KB  |  62 lines  |  [TEXT/MPS ]

  1. F2C for MPW
  2.  
  3.     This is the initial public release of F2C for MPW.  F2C for MPW is 68K/PPC native tool
  4. that will let you use F2C in conjunction with MPW and a C compiler to compile FORTRAN
  5. code.  Please refer to the documentation for further information.  This distribution
  6. includes 3 tools F2C, F2CPPC, and F2C68K which are the "FAT", PowerPC, and 68K versions
  7. of the tool.  You will need MPW 3.4 to run the PowerPC native versions.  Earlier versions
  8. of MPW will not recognize the PowerPC code.  If you are using Metrowerks, this version
  9. is somewhere on the distribution CD.  There has been very little testing of the 68K version
  10. so let me know how it works and proceed with caution.
  11.  
  12.     Please note that very few modifications have been made to the original code found
  13. at the ftp site netlib.att.com.  While this version works, it has only been under
  14. development for about 2 weeks, so there has been little testing.  I have tested it
  15. on my FORTRAN source running on a PowerMac 7100/80.  Please let me know if you have
  16. any trouble or success on other machines.
  17.  
  18. This is all that is need to run F2C for MPW.
  19.  
  20. Libraries:
  21.  
  22.     The libraries libI77 and libF77 are special versions of the ones that come with
  23. the stand-alone application that let you create MPW tools.  They were made my simply 
  24. setting the "MPW Newlines" option and forcing the project to use the universal headers.
  25. Currently only the PowerMac version has been included since there has been NO testing
  26. on the 68K version of the libraries.
  27.  
  28. Installation:
  29.  
  30. 1)    Copy the items in "Put in Tools" to the "Tools" folder in the MPW directory.
  31. 2)    Copy the "F2CLibraries" folder to the "Libraries" folder in the MPW directory.
  32. 3)    Copy the F2CExamples to the "Examples" folder in the MPW directory.
  33. 4)    Copy the UserStartup.F2C to the MPW directory.
  34. 5)  Build the test program (see F2CExamples below)
  35.  
  36. F2CExamles:
  37.  
  38.     This is simple test tool that exercises the io of the libraries.  The make file will
  39. create an MPW tool called 'test' that you can then run.
  40.  
  41. #To build the tool type:
  42. BuildProgram test
  43.  
  44. #To run the tool type:
  45. test
  46.  
  47. Please look in the make file for examples on how to handle the common blocks within your
  48. FORTRAN code.  It's not pretty but it solves the problem!
  49.  
  50.  
  51. Final Word:
  52.  
  53.     If you use F2C for MPW please let me know of your results.  If you find bugs, please tell
  54. me about them and then tell me you work around if you found one.  I don't have much time to
  55. work on this but I would like to make F2C for MPW as stable and useful as possible.
  56.  
  57. Good Luck
  58. Kris
  59.  
  60. ---
  61. Kris L. Jorgensen
  62. kris@ecn.purdue.edu